package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import java.util.List;

public interface ShoppingCartService {
    //用户端添加购物车
    void addShoppingCart(ShoppingCartDTO shoppingCartDTO);
    //查看购物车
    List<ShoppingCart> showShoppingCart();
   //删除购物车一个商品
    void sub(ShoppingCartDTO shoppingCartDTO);
    //清空购物车
    void clean();
}
